CanGetCookiesCallback

public interface CanGetCookiesCallback implements NetworkSyncCallback<P, R>

The callback is invoked to check if the engine can access the given cookie or not.

Use the can method to allow access to the cookie

Use the cannot} method to deny access to the cookie.

If the callback throws an exception, the can method will be invoked.

Types

Link copied to clipboard
public interface Params
The parameters of the CanGetCookiesCallback.
Link copied to clipboard
public interface Response
A response for CanGetCookiesCallback.

Functions

Link copied to clipboard
@CheckForNull()
public abstract R on(P params)
Invoked when the callback needs a response of type R that may be determined based on the provided callback parameters.